<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: InPerUsr.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_in_per_usr_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">InPerUsr.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_in_per_usr_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#ifndef PerUsr</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PerUsr</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifdef PerUsr_Serv</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ExtPU</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ExtPU extern</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_in_vet_bit_8h.html" title="Interface do Modulo Vetor de Bits.">InVetBit.h</a>&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_in_per_usr_8h.html#a1ee682f25327f9a45ef93d756bc14ba1">   49</a></span>&#160;<span class="preprocessor">#define ARQUIVO_PU &quot;Usuario.txt&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_in_per_usr_8h.html#ab73bcb0bc5f1da4e0731a4e4c3a2d311">   50</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NARQUIVO_PU &quot;Usuario&quot;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_in_per_usr_8h.html#a678a420e98ca2474f5abb6c3d80d52f4">   51</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define TAMANHOREG_PU 38</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_in_per_usr_8h.html#a55318c48974a330b464789a4fe74e37f">   52</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define VARIAVELCONTROLE_PU &#39;$&#39;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_in_per_usr_8h.html#a0f5a80d3732df4a03632c0936ff8f863">   53</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define EXTENCAO_PU &quot;.txt&quot;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="structusuario___m.html">   59</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">usuario_M</a> {</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="structusuario___m.html#a3d1b2a3994243f9ebecbb213734529c7">   60</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structusuario___m.html#a3d1b2a3994243f9ebecbb213734529c7">Cpf</a>[12]; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="structusuario___m.html#ae0239604e138a4fbe61b7c0b24bb1ab7">   61</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structusuario___m.html#ae0239604e138a4fbe61b7c0b24bb1ab7">Nome</a>[16]; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="structusuario___m.html#a0c2c83055f50b38b347cb7f88f5a27f3">   62</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structusuario___m.html#a0c2c83055f50b38b347cb7f88f5a27f3">Senha</a>[5]; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="structusuario___m.html#aa4fc23555e86b413909d049d0de7aa7c">   63</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structusuario___m.html#aa4fc23555e86b413909d049d0de7aa7c">NumerAlbum</a>; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">usuario_M</a> <a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">User_PU</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;ExtPU <span class="keywordtype">int</span> VerificaSenha_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;ExtPU <span class="keywordtype">int</span> BloqueiaUsuario_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>* cpf_Pass);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;ExtPU <span class="keywordtype">int</span> LiberaUsuario_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;ExtPU <span class="keywordtype">int</span> PegaUser_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*, <a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">User_PU</a>*);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;ExtPU <span class="keywordtype">int</span> AtualizaUser_PU(<a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">User_PU</a>*);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;ExtPU <span class="keywordtype">int</span> DeletaUser_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;ExtPU <span class="keywordtype">int</span> <a class="code" href="_in_per_usr_8h.html#a1fae42653f0050ff1b21e039bda06593" title="Responsavel por adionar um novo usuario ao Banco de Dados.">AddUsuario_PU</a>(<a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">User_PU</a> *);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;ExtPU <span class="keywordtype">int</span> AddAlbum_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;ExtPU <span class="keywordtype">int</span> RemoveAlbum_PU(<span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keywordtype">int</span> ListaBloqueados_PU (<a class="code" href="structusuario___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">User_PU</a> *Usuar, <span class="keywordtype">int</span> Pulo);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keywordtype">int</span> <a class="code" href="_in_per_usr_8h.html#a9bbf42e8d3b10472049564f935e1acff" title="Responsavel por pegar usuario dado a cpf deste.">VerificaNumeroAlbuns_PU</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_in_per_usr_8h.html">InPerUsr.h</a></li>
    <li class="footer">Generated on Wed Jul 4 2012 11:44:30 for My Project by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
  </ul>
</div>
</body>
</html>
